<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css"
	href="js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="js/easyui/demo/demo.css">
<link rel="stylesheet" href="css/gh-buttons.css">
<script type="text/javascript" src="js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/easyui/locale/easyui-lang-zh_CN.js"></script>
<style type="text/css">
body {
	background-image: url(images/bg_point.gif);
}

.easyui-panel {
	padding: 50px 60px;
	text-align: center;
	width: 400px;
}
#msg{

  color:#F00;
}
</style>
	<script type="text/javascript">
		function reloadCode(){//刷新验证码
			var time = new Date().getTime();
			document.getElementById("imagecode").src= "ImageServlet?d="+time;
		}
		
	</script>
</head>
<body style="text-align: center;">
	<div style="margin: 200px 750px;">
		<div class="easyui-panel">
			<h2>12306售票系统后台登录</h2>
			<form action="adminServlet?param=login" method="post">
				<div style="margin-bottom: 20px">
					<input class="easyui-textbox" prompt="Username" iconWidth="28"
						style="height: 34px; padding: 10px;" name="name" required="required">
				</div>
				<div style="margin-bottom: 20px">
					<input class="easyui-passwordbox" prompt="Password" iconWidth="28"
						style="height: 34px; padding: 10px" name="password" required="required">
				</div>
				<div style="margin-bottom: 20px">
					<input class="easyui-textbox" prompt="CkeckCode" iconWidth="14"
						style="height: 34px;width:80px; padding: 10px;" name="checkcode" required="required">
					<img alt="验证码" id="imagecode" src="ImageServlet"/>
                    <a href="javascript: reloadCode();">看不清楚</a>
				</div>
				<a href="Login.jsp">用户登录->></a>
				<div>
				<input type="submit" class="button big" onclick="" style="margin-top:10px;">
				&nbsp;&nbsp;<input type="reset" class="button big" value="重置">
				</div>
				<p id="msg">${msg}</p>
			</form>
		</div>
	</div>
</body>
</html>